package com.jxs.easysecurity.http.spring;

import java.lang.annotation.*;

/**
 * 用于标记某个控制器（的方法）为"只要登录即可访问"。
 * @author jiangxingshang
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LoginUser {

    Class<? extends LoginUserFilter>[] filter() default {};


    @Deprecated
    abstract class None implements LoginUserFilter { }
}
